projects
/
gtk4.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
06e583e
)
Cast to avoid warning
author
Richard Hult
<richard@imendio.com>
Mon, 2 Feb 2009 13:21:13 +0000
(14:21 +0100)
committer
Alexander Larsson
<alex@localhost.localdomain>
Thu, 2 Apr 2009 08:15:31 +0000
(10:15 +0200)
gdk/quartz/gdkdrawable-quartz.c
patch
|
blob
|
history
diff --git
a/gdk/quartz/gdkdrawable-quartz.c
b/gdk/quartz/gdkdrawable-quartz.c
index 347e0e8611bc8cb615d47afaffba36e2a90a36f9..ce1513e5eac29471e4187f7e77d3c1cea7352230 100644
(file)
--- a/
gdk/quartz/gdkdrawable-quartz.c
+++ b/
gdk/quartz/gdkdrawable-quartz.c
@@
-350,7
+350,7
@@
gdk_quartz_draw_drawable (GdkDrawable *drawable,
* by using a scroll. FIXME: We need to check that the params support
* this hack, and make sure it's done properly with any offsets etc?
*/
- if (drawable == window_impl)
+ if (drawable ==
(GdkDrawable *)
window_impl)
{
[window_impl->view scrollRect:NSMakeRect (xsrc, ysrc, width, height)
by:NSMakeSize (xdest - xsrc, ydest - ysrc)];